﻿using System;
using RIDA.Engine;
using RIDA.DiagramDesigner.ViewModel;

namespace RIDA.TaskView.ViewModel
{
    [Serializable]
    public class TaskDesignerItemViewModel : DesignerItemViewModel
    {


        public TaskDesignerItemViewModel()
        {
        }

        private IExecutableTask task;
        public IExecutableTask Task
        {
            get { return task; }
            set
            {
                task = value;
                OnNotifyPropertyChanged("Task");
            }
        }

        public override object GetModel()
        {
            return Task;
        }

    }
}
